﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace KPIS.GERP.GAMS.MODEL
{
    public class M_ACM_GENERATE_ACCOUNT_Auto
    {
        private string REF_TYPE;
        private string TRAN_TYPE;
        private string REF_NO;
        private Nullable<DateTime> TRAN_DATE;
        private string TRAN_NAME;
        private Nullable<Int32> WORK_AREA_SEQ;
        private Nullable<Int32> BGM_SOURCE_SEQ;
        private Nullable<Int32> REF_SEQ;
        private string SOURCE_NAME;
        private string AREA_NAME;
        private Nullable<int> BGM_YEAR;
        //Detail
        private Nullable<Int32> ACCOUNT_SEQ;
        private string DR_OR_CR;
        private Nullable<double> AMOUNT;
        private Nullable<double> AMOUNT_DR;
        private Nullable<double> AMOUNT_CR;
        //Add Detail
        private Nullable<Int32> TRAN_GRP_SEQ;
        private string TRAN_GRP_CODE;
        private string RECORD_STATUS;
        private Int32 CREATED_BY;
        private DateTime CREATED_WHEN;
        private Nullable<Int32> UPDATED_BY;
        private Nullable<DateTime> UPDATED_WHEN;
        private string ACCOUNT_NAME;
        private string ACCOUNT_CODE;
          

            public M_ACM_GENERATE_ACCOUNT_Auto()
            {
            }

            public string ref_type
            {
                get { return REF_TYPE; }
                set { REF_TYPE = value; }
            }
            public string tran_type
            {
                get { return TRAN_TYPE; }
                set { TRAN_TYPE = value; }
            }
            public string ref_no
            {
                get { return REF_NO; }
                set { REF_NO = value; }
            }
            public Nullable<DateTime> tran_date
            {
                get { return TRAN_DATE; }
                set { TRAN_DATE = value; }
            }
            public string tran_name
            {
                get { return TRAN_NAME; }
                set { TRAN_NAME = value; }
            }
            public Nullable<Int32> work_area_seq
            {
                get { return WORK_AREA_SEQ; }
                set { WORK_AREA_SEQ = value; }
            }
            public Nullable<Int32> bgm_source_seq
            {
                get { return BGM_SOURCE_SEQ; }
                set { BGM_SOURCE_SEQ = value; }
            }
            public Nullable<Int32> ref_seq
            {
                get { return REF_SEQ; }
                set { REF_SEQ = value; }
            }
            public string source_name
            {
                get { return SOURCE_NAME; }
                set { SOURCE_NAME = value; }
            }
            public string area_name
            {
                get { return AREA_NAME; }
                set { AREA_NAME = value; }
            }
            //Detail
            public Nullable<Int32> account_seq
            {
                get { return ACCOUNT_SEQ; }
                set { ACCOUNT_SEQ = value; }
            }
            public string dr_or_cr
            {
                get { return DR_OR_CR; }
                set { DR_OR_CR = value; }
            }
            public Nullable<double> amount
            {
                get { return AMOUNT; }
                set { AMOUNT = value; }
            }
            public Nullable<double> amount_dr
            {
                get { return AMOUNT_DR; }
                set { AMOUNT_DR = value; }
            }
            public Nullable<double> amount_cr
            {
                get { return AMOUNT_CR; }
                set { AMOUNT_CR = value; }
            }
            public Nullable<Int32> tran_grp_seq
            {
                get { return TRAN_GRP_SEQ; }
                set { TRAN_GRP_SEQ = value; }
            }
            public string tran_grp_code
            {
                get { return TRAN_GRP_CODE; }
                set { TRAN_GRP_CODE = value; }
            }
            public string record_status
            {
                get { return RECORD_STATUS; }
                set { RECORD_STATUS = value; }
            }
            public Int32 created_by
            {
                get { return CREATED_BY; }
                set { CREATED_BY = value; }
            }
            public DateTime created_when
            {
                get { return CREATED_WHEN; }
                set { CREATED_WHEN = value; }
            }
            public Nullable<Int32> updated_by
            {
                get { return UPDATED_BY; }
                set { UPDATED_BY = value; }
            }
            public Nullable<DateTime> updated_when
            {
                get { return UPDATED_WHEN; }
                set { UPDATED_WHEN = value; }
            }
            public string account_name
            {
                get { return ACCOUNT_NAME; }
                set { ACCOUNT_NAME = value; }
            }

            public string account_code
            {
                get { return ACCOUNT_CODE; }
                set { ACCOUNT_CODE = value; }
            }

            public Nullable<int> bgm_year
            {
                get { return BGM_YEAR; }
                set { BGM_YEAR = value; }
            }
    }
}
